<?php
/**
 * Created by PhpStorm.
 * User: zhaobl
 * Date: 2017\11\9 0009
 * Time: 14:16
 */

//应用目录
define('APP_PATH','./App/');

//模块目录
define('HOME_PATH',APP_PATH.'Controller/');
define('COMMON_PATH',APP_PATH.'Common/');
define('VIEW_PATH',APP_PATH.'View/');
define('Public_PATH',APP_PATH.'Public/');
define('RUNTIME_PATH',APP_PATH.'Runtime/');

define('__PUBLIC__','/'.Public_PATH);
//系统目录
define('SYSTEM_PATH','./System/');
require_once SYSTEM_PATH.'Common.php';
require_once COMMON_PATH.'Common.php';
//require_once SYSTEM_PATH.'Exceptions.php';
require_once SYSTEM_PATH.'Start.php';
System\Start::start();